from flask import Flask
from .ext_db import db
from .ext_celery import register_celery


def register_extensions(app: Flask):
    db.init_app(app)
    register_celery(app)